package cn.idietrade.idietradegoodsmodule8002.service.feignservice.impl;


import cn.idietrade.common.utils.ReturnResultData;
import cn.idietrade.common.utils.SecondPage;
import cn.idietrade.idietradegoodsmodule8002.service.feignservice.ESGoodsFeignService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import java.util.logging.Logger;

/**
 * @author zjy
 * @version 1.0
 * @createTime 2022-12-04 14:28
 * @description
 */

@Slf4j
@Service
public class ESGoodsFeignFallback implements ESGoodsFeignService {
    Logger logger = Logger.getLogger("ESGoodsFeignService");
    @Override
    public ReturnResultData<SecondPage> goodsShow(Integer pageNum, Integer pageSize, String keyword, Integer cityId, Integer goodsType) {
        logger.info("Feign 调用ES模块查询所有商品信息失败...");
        return null;
    }

    @Override
    public ReturnResultData goodsAllAddES(String keyword, Integer cityId) {
        logger.info("Feign 调用ES模块同步数据失败...");
        return null;
    }
}
